import http from "@/utils/http";

// 分页
export const merchantRolePage = (params)=> http.get('/adminapi/dubbo/merchants/role/page', params)

// 详情
export const merchantsRoleDetail = (id)=> http.get(`/adminapi/dubbo/merchants/role/detail/${id}`)

// 添加
export const merchantsRoleAdd = (data)=> http.post('/adminapi/dubbo/merchants/role/add', data)

// 编辑
export const merchantsRoleEdit = (data)=> http.post('/adminapi/dubbo/merchants/role/edit', data)
